<?php

use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class CreateFourMedicalCheckTable extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::create('four_medical_check', function (Blueprint $table) {
            $table->increments('id');
            $table->string('package_name')->default('')->comment('套餐名称');
            $table->string('package_pic')->default('')->comment('套餐图片');
            $table->tinyInteger('package_type')->comment('套餐类型');
            $table->tinyInteger('campus_id')->comment('所在院区');
            $table->decimal('price')->comment('套餐价钱');
            $table->string('item')->default('')->comment('套餐项目');
            $table->tinyInteger('status')->comment('套餐状态');
            $table->timestamps();
            $table->softDeletes();
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::dropIfExists('four_medical_check');
    }
}
